package cn.itcast.java.api;

import java.io.Serializable;

/**
 * Author itcast
 * Date 2021/10/9 11:41
 * Desc TODO
 */
public class SunFlow implements Creature, Serializable,Fruit {
    @Override
    public void eat() {
        System.out.println("光合作用");
    }

    @Override
    public void breath() {
        System.out.println("吸收氧气");
    }

    public void start(){

    }

    @Override
    public void produce() {
        System.out.println("生产瓜子");
    }
}
